#include"../../source/server.hpp"

int main()
{
      Socket sock;
      sock.CreateClient(8888,"116.205.138.171");
      std::cout<<"fd:"<<sock.GetFd()<<std::endl;
      for(int i=0;i<5;i++)
      {
            char buf[]="hello world";
            size_t len=sizeof(buf);
            sock.Send(buf,len);
            sleep(1);
      }
      while(1)
      {
            sleep(1);
      }
      return 0;
}